﻿@model Mvc4.Models.LocalPasswordModel
@{
    ViewBag.Title = "Manage Account";
}

<hgroup class="title">    
</hgroup>

<div style="padding-left:25px">
    <p class="message-success" style="margin-left:25px;">@ViewBag.StatusMessage</p>

    <p style="margin-left:25px;">You're logged in as <strong>@User.Identity.Name</strong>.</p>

    <h2 class="blue-font-title">Change password</h2>
    @if (ViewBag.HasLocalPassword)
    {
        @Html.Partial("_ChangePasswordPartial")
    }
    else
    { 
        @Html.Partial("_SetPasswordPartial")
    }

    <section class="social" id="externalLogins">
        @Html.Action("RemoveExternalLogins")
        <h2 class="blue-font-title">Add an external login</h2>
        @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
    </section>   
</div>
